var startTime=new Date(); function currentTime(){ var a=Math.floor((new Date()-startTime)/100)/10; if (a%1==0) a+=".0"; document.getElementById("kisniTime").innerHTML=a; } var loopTime=setInterval("currentTime()",100); window.onload=function(){ clearTimeout(loopTime); } document.write('LOAD: 0.0s');